package com.yqy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ExceptionTestController {
    @RequestMapping("/test/exception")
    public String testException(){
        String str=null;
        str.toString();
        return "error";
    }
}
